var express = require("express")
var router = express.Router()

router.get("/", (req, res) => {

    res.redirect("/login")
})


router.get("/login", (req, res) => {

    res.render("login.ejs", { title: "登录" })
})



router.get("/index", (req, res) => {
    res.render("index.ejs", { title: "首页" })
})

module.exports = router